package com.sunther.document.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunther.document.entity.FileSystemEntity;
import com.sunther.document.entity.FileSystemEntityVo;
import com.sunther.document.entity.FileSystemMidEntity;
import com.sunther.idb.common.util.WebResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author admin
 */
public interface FileSystemService extends IService<FileSystemEntity> {
    /**
     * 体系保存
     * @param data
     * @return
     */
    WebResult saveData(FileSystemMidEntity data, HttpServletRequest request);

    /**
     * 体系详情
     * @param id
     * @return
     */
    FileSystemEntityVo detail(String id);

    WebResult delDetail(String id);

    WebResult projectByDtl(String projectId, HttpServletRequest request);

    Map<String, String> getSystemNameMap();
}
